package cn.hadron.ssh.dao;
import cn.hadron.ssh.bean.User;
public interface UserDao {
	//新增用户
	public void save(User u);
	//修改用户
	public void update(User u);
	//删除
	public void delete(int id);
	//加载用户
	public User load(Integer id);
	//查找
	public User findUser(String username);
	//查找
	public User findUser(String username,String password);
}

